<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/pages/safeai/jsp/common/taglibs.jsp"%>
<html>
	<head>
		<title>前台管理--建议中心管理</title>
		<link href="${ctx}/css/safeai/together.css" rel="stylesheet" type="text/css">
		<script type="text/javascript" src="${ctx}/script/common/common.js"></script>
		<%@ include file="/pages/safeai/jsp/common/meta.jsp"%>
	</head>
	<body>
		<html:form action="/others/messageManage" method="post">
			<input type="hidden" name="method" value="search" />
			<table width="100%" align="center">
				<tr>
					<td class="td_03">
						<select name="searchType">
							<option selected="selected" value="2">
								选择
							</option>
							<option value="0">
								按昵称查询
							</option>
							<option value="1">
								按标题查询
							</option>
						</select>
						<input type="text" name="searchContent" />
						<input type="submit" value="查询"/>
					<br></td>
					<td class="td_03"></td>
					<td class="td_03"></td>
				</tr>				
			</table>
		</html:form>
		<html:form action="/others/messageManage" method="post">
			<input type="hidden" name="method" value="list1" />
			<table width="100%" align="center">
				<logic:present name="MessageRange">
					<logic:iterate id="message" name="MessageRange" property="records">
						<tr>
							<td class="td_03">
								标题：${message.title}
							</td>
							<td class="td_03">
								昵称：${message.nicky}
							</td>
							<td class="td_03">
								发表时间：${message.publishDate}
							</td>
						</tr>
						<tr>
							<td class="td_03" colspan=3>
								建议投诉：${message.content}
							</td>
						</tr>
						<tr>
							<td class="td_03" colspan=3>
								客服回复：${message.reply}
							</td>
						</tr>
					</logic:iterate>
				</logic:present>
				<tr>
					<td colspan="6" align="left">
						<%@ include file="/pages/safeai/jsp/common/page.jsp"%>
						&nbsp;&nbsp;&nbsp;&nbsp;
					</td>
				</tr>
			</table>
		</html:form>
		<html:form action="/others/messageManage" method="post">
			<input type="hidden" name="method" value="insert" />
			<table width="100%" align="center">
				<tr>
					<td class="td_03">
						您的昵称（默认为您的用户名）*
						<br>
						<input type="text" name="message.nicky" id="nicky" />
					</td>
				</tr>
				<tr>
					<td class="td_03" colspan=3>
						您的E-Mail（默认为您的注册E-Mail，如果注册用户中没有E-Mail信息,
						请填写您的常用E-Mail信箱，以便及时收到我们的答复！） *
						<br>
						<input type="text" name="message.email" id="email" />
					</td>
				</tr>
				<tr>
					<td class="td_03" colspan=3>
						在下面输入您的反馈主题 *
						<br>
						<input type="text" name="message.title" id="title" />
					</td>
				</tr>
				<tr>
					<td class="td_03" colspan=3>
						添加反馈内容 *
						<br>
						<textarea name="message.content" cols="55" rows="4"></textarea>
					</td>
				</tr>
				<tr>
					<td>
						<a href="#"
							onclick="script:document.getElementsByTagName('form')[2].submit()">提交</a>
					</td>
				</tr>
			</table>
		</html:form>
	</body>
</html>